import router from '@/router';

const errorHandle = (err: any) => {
  console.log(err.error);
  router.push('/login');
};

export default errorHandle;
